<template>
  <div id="fofaSearch" class="fofa-search search-button"  v-on:click="xiu">fofa</div>
</template>

<script>
export default {
  name: 'fofa',
  data () {
    return {
      myData: {
        myUrl: 'https://fofa.so/result',
        uname: 'q',
        message: 'fofa查一下'
      }
    }
  },
  methods: {
    xiu () {
      this.$emit('pa', this.myData)
    }
  }
}
</script>

<style scoped lang="scss">
@import "button.css";
.fofa-search{
  color:#439aff;
}
</style>
